package com.example.server;

import com.example.pojo.Student;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface StudentServer {
    List<Student> Queryall();
    public PageInfo<Student> querall(Integer page,Integer list,String name);
    /*
    根据id删除
     */
    int Deleteaccordingtoid(int id) throws NoSuchFieldException;

    /*
    增加数据
     */
    int Increasedata(Student student);
    /*
    修改数据  根据id
     */
    int changethedata(Student student);
}
